package com.nc.delivery_project.client;

import com.google.gwt.place.shared.PlaceController;
import com.nc.delivery_project.client.add_department.AddDepartmentPlace;
import com.nc.delivery_project.client.add_schedule.AddSchedulePlace;
import com.nc.delivery_project.client.add_user.AddUserPlace;
import com.nc.delivery_project.client.department_details.DepartmentDetailsPlace;
import com.nc.delivery_project.client.departments.DepartmentsPlace;
import com.nc.delivery_project.client.cargo_details.CargoDetailsPlace;
import com.nc.delivery_project.client.order_details.OrderDetailsPlace;
import com.nc.delivery_project.client.orders.OrdersPlace;
import com.nc.delivery_project.client.request.AppRequestFactory;
import com.nc.delivery_project.client.schedule_details.ScheduleDetailsPlace;
import com.nc.delivery_project.client.schedules.SchedulesPlace;
import com.nc.delivery_project.client.statistics.StatisticsPlace;
import com.nc.delivery_project.client.user_details.UserDetailsPlace;
import com.nc.delivery_project.client.users.UsersPlace;
import com.google.gwt.activity.shared.ActivityManager;

/**
 * Created by miroshnik on 12/27/2014.
 */

public interface ClientFactory {

    com.google.web.bindery.event.shared.EventBus getEventBus();

    AppRequestFactory getRequestFactory();

    PlaceController getPlaceController();

    ActivityManager getActivityManager();

    /**
     * used by the historyMapper
     */
    UsersPlace.Tokenizer getUsersTokenizer();
    
    UserDetailsPlace.Tokenizer getUserDetailsTokenizer();
    
    AddUserPlace.Tokenizer getAddUserTokenizer();
    /**
     *
     */
    ScheduleDetailsPlace.Tokenizer getScheduleDetailsTokenizer();
    
    SchedulesPlace.Tokenizer getSchedulesTokenizer();

	AddSchedulePlace.Tokenizer getAddScheduleTokenizer();
    /**
     *
     */
    OrdersPlace.Tokenizer getOrdersTokenizer();
    OrderDetailsPlace.Tokenizer getOrderDetailsTokenizer();
    CargoDetailsPlace.Tokenizer getCargoDetailsTokenizer();
    /**
    *
    */
    DepartmentsPlace.Tokenizer getDepartmentsTokenizer();
    
    AddDepartmentPlace.Tokenizer getAddDepartmentTokenizer();
    
    DepartmentDetailsPlace.Tokenizer getDepartmentDetailsTokenizer();
    /**
    *
    */
    StatisticsPlace.Tokenizer getStatisticsTokenizer();
	
	

}
